﻿// ***********************************************************************
// Project			: Micua
// Assembly         : Micua.IBLL
// Author           : iceStone
// Created          : 2013-11-23 21:57
//
// Last Modified By : iceStone
// Last Modified On : 2013-11-23 21:58
// ***********************************************************************
// <copyright file="IOptionManager.cs" company="Wedn.Net">
//     Copyright (c) Wedn.Net. All rights reserved.
// </copyright>
// <summary>配置信息服务拓展类接口</summary>
// ***********************************************************************
using System.Collections.Generic;

namespace Micua.IBLL
{
    /// <summary>
    /// 配置信息服务拓展类接口
    /// </summary>
    /// <remarks>
    ///  2013-11-23 22:07 Created By iceStone
    /// </remarks>
    public partial interface IOptionService
    {
        /// <summary>
        /// 获取设置信息字典
        /// </summary>
        /// <remarks>
        ///  2013-11-23 22:07 Created By iceStone
        /// </remarks>
        /// <returns>设置信息字典</returns>
        IDictionary<string, string> GetSetting();
        /// <summary>
        /// 根据选项名称更新对应的选项值, 返回执行结果受影响行数
        /// </summary>
        /// <remarks>
        ///  2013-11-23 22:07 Created By iceStone
        /// </remarks>
        /// <param name="name">要修改的选项名称</param>
        /// <param name="value">要更新的值</param>
        /// <returns>执行结果受影响行数</returns>
        int UpdateValue(string name, string value);
    }
}